package com.chinamobile.sn.channel;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class FirstController {

    @RequestMapping("/hello")
    public String hello() {
        return "hello,this is a springboot demo";
    }
    @RequestMapping("/MyHelloWorld")
    public String MyHelloworld(){
        return "hello,this is a myspringboot demo";
    }
}